<?php 
/**
 * 品牌model类
 * @Author    紫梦
 * @DateTime  2017-11-06
 * @copyright 响响租车
 * @version   1.0
 */
namespace app\common\model;
use think\Model;
use traits\model\SoftDelete;


class Brand extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    

    public function cars()
    {
        return $this->hasMany('Cars','brand_id');
    }
}